<!-- 顶部 -->
<div class="layui-header header">
    <div class="layui-main mag0">
        <a href="javascript:;" class="logo">LOGO</a>
        <!-- 显示/隐藏菜单 -->
        <!--<a href="javascript:;" class="seraph hideMenu icon-caidan"></a>-->
        <!-- 顶级菜单 -->
        <ul class="layui-nav mobileTopLevelMenus" mobile>
            <li class="layui-nav-item" data-menu="contentManagement">
                <a href="javascript:;"><i class="seraph icon-caidan"></i><cite>ERP后台管理</cite></a>
                <dl class="layui-nav-child">
                    {$topMenu.mobile}
                </dl>
            </li>
        </ul>
        <ul class="layui-nav topLevelMenus" pc>
            {$topMenu.pc}
        </ul>
        <!-- 顶部右侧菜单 -->
        <ul class="layui-nav top_menu">
            <li class="layui-nav-item" pc>
                <a href="{:url('admin/common/delcache')}" class="clearCache"><i class="layui-icon" data-icon="&#xe640;">&#xe640;</i><cite>清除缓存</cite><span class="layui-badge-dot"></span></a>
            </li>
            <li class="layui-nav-item" id="userInfo">
                <a href="javascript:;">
                    <img src="{$adminInfo.avatar ?: '__STATIC__/admin/img/avatar.png'}" class="layui-nav-img userAvatar" width="35" height="35">
                    <cite class="adminName">{$adminInfo.name}</cite>
                </a>
                <dl class="layui-nav-child">
                    <!--<dd><a href="{:url('admin/admin/profile')}"><i class="seraph icon-ziliao" data-icon="icon-ziliao"></i><cite>个人中心</cite></a></dd>-->
                    <dd><a href="javascript:;" id="view-profile" data-url="{:url('admin/admin/profile')}"><i class="seraph icon-ziliao" data-icon="icon-ziliao"></i><cite>个人中心</cite></a></dd>
                    <dd><a href="{:url('admin/auth/logout')}" class="signOut"><i class="seraph icon-tuichu"></i><cite>退出</cite></a></dd>
                </dl>
            </li>
        </ul>
    </div>
</div>